package com.ajie.entity;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class Relation {
    @ApiModelProperty(value = "主键")
    private Long id;
    
    @ApiModelProperty(value = "好友状态")
    private boolean friendStatus;
    
    @ApiModelProperty(value = "用户Aid")
    private Long userAId;
    
    @ApiModelProperty(value = "用户A头像")
    private String userAAvatar;
    
    @ApiModelProperty(value = "用户A用户名")
    private String userANickname;
    
    @ApiModelProperty(value = "用户Bid")
    private Long userBId;
    
    @ApiModelProperty(value = "用户B头像")
    private String userBAvatar;
    
    @ApiModelProperty(value = "用户B用户名")
    private String userBNickname;
    
    /**
     * 聊天记录
     */
    @ApiModelProperty(value = "聊天记录")
    private List<Record> records;
}
